// Copyright Epic Games, Inc. All Rights Reserved.

#include "LyraAbilitySystemGlobals.h"

#include "LyraGameplayEffectContext.h"

#include UE_INLINE_GENERATED_CPP_BY_NAME(LyraAbilitySystemGlobals)

struct FGameplayEffectContext;

ULyraAbilitySystemGlobals::ULyraAbilitySystemGlobals(const FObjectInitializer& ObjectInitializer)
	: Super(ObjectInitializer)
{
}

FGameplayEffectContext* ULyraAbilitySystemGlobals::AllocGameplayEffectContext() const
{
	/**
	 * 这里需要的是自己实现的上下文类，只要是实现了自己的类，就需要调用此函数，例如：AllocAbilityActorInfo如果自己实现，就需要
	 * 实现virtual FGameplayAbilityActorInfo* AllocAbilityActorInfo() const;函数。
	 */
	return new FLyraGameplayEffectContext();
}

